home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
pcbchek7.arc
/
LOCAL.BAT
next >
Wrap
DOS Batch File
|
1989-07-03
|
3KB
|
55 lines
@ECHO OFF
REM BATCH FILE FOR LOCAL ACCESS =- FOR PCBCHEK USE ONLY -=
REM (R07.03.89)
REM (DOS 3.3 OR ABOVE ONLY)
REM - BY DAN DEZELLE -
E:
CD\PCBOARD
::
:: TAKES OFF ANY LEFT OVER SYS USER INFO THEN REPLACES WITH SAME SPECS SUCH
:: AS SCREEN ON/OFF, BELL ON/OFF, ALARM ON/OFF, PRINTER ON/OFF ETC.. BUT WIPES
:: THE OLD USER INFO SO THE NEXT GUY CAN GET ON SAFELY.
PCBCHEK
::
:: TAKES OFF AND "X" FLAGS CAUSED BY ALT-X OR PCB DOES IT AUTOMATICLY WHEN THE
:: EXIT TO DOS FLAG IS ON, (WHICH IS NECESSARY FOR BINK OPERATION). BUT THIS
:: FLAG ISN'T ANY GOOD WHEN GOING IN LOCAL IT JUST KICKS YOU BACK TO DOS IF
:: THERE IS ONE AND YOU HAVE TO ASK TO ENTER AGAIN TO FINALLY GET ON LOCAL.
PCBCHEK LOCAL
::
:LOAD
IF EXIST ENDPCB DEL ENDPCB
IF EXIST DOOR.BAT DEL DOOR.BAT
PCBOARD /LOCALON
::
:: THIS LINE TAKES THE DOOR.BAT AND REMOVES THE LAST LINE WHICH IS USUALLY
:: THE NAME OF THE BATCH FILE TO RELOAD PCBOARD SUCH AS BOARD.BAT SO THAT
:: WE WILL BE ABLE TO RETURN TO THIS ONE INSTEAD OF LOOSING CONTROL BACK TO
:: BINK WHEN WE ARE DONE WE CAN SIMPLY RETURN TO DOS AND FINISH OUR THING
:: OR EVEN LOAD BINK AGAIN. (MAKES ME FEEL SAFER)
IF EXIST DOOR.BAT PCBCHEK DOOR.BAT
::
:: THIS ONE WILL ALLOW US TO THEN SHELL TO THE DOOR BATCH FILE AFTER WE
:: HAVE OMITTED THE RELOADING BATCH AT THE END UNLESS YOU HAVE FLAGGED
:: A CERTIAN BATCH FILE AT THE END WITH THE ":PC" STATEMENT TO WITHDRAW
:: FROM ACTION IN WHICH CASE NO MODIFICATION WOULD BE CARRIED OUT. WHEN
:: THE DOOR IS FINISHED THE SHELL WILL RETURN US TO THIS BATCH FILE INSTEAD
:: OF GOING INTO THE SPECIFIED ONE WE TOOK OUT. THEN IT SHOULD RELOAD
:: PCBOARD LOCAL AGAIN UNTIL WE WANT OFF.
:: * IF YOU HAVE A FILE SET FOR NO MODIFICATION IN WHICH CASE YOU MEAN TO
:: POSSIBLY USE THE OPTION SO THAT YOU MAY EXIT TO DOS WITH THE BATCH
:: AND COME BACK UP WITHOUT PROBLEM, YOU MUST CREATE A ENDPCB FILE IN
:: THE DOOR BATCH FILE BY SIMPLY CAUSING IT'S EXISTANCE. THIS FILE WILL
:: THEN RETURN AND END THE BATCH ROUTINE WHEN YOU HAVE DONE THIS IN THE
:: PREVIOS BATCH FILE. AFTER YOU HAVE FINISHED IN DOS YOU MUST USE A
:: FILE SIMILIAR TO THIS ONE (EVERYTHING FROM ":LOAD" AND DOWN) TO RELOAD
:: PCB WITHOUT PROBLEMS FROM DOS. YOU CAN CREATE THE FILE EASILY BY JUST
:: DELETING THE FIRST FEW LINES UNTIL YOU GET TO THE ":LOAD" LINE, DO NOT
:: DELETE THIS LINE OR IT WILL RUIN ANY NORMAL ATTEMPTS TO USE IT. ALSO
:: REMEMBER TO USE A DIFFERENT NAME.
IF EXIST DOOR.BAT CALL DOOR
::
IF EXIST ENDPCB GOTO END
GOTO LOAD
:END